package com.tiennt.android.smartcaller;

import android.app.Activity;
import android.os.Bundle;
import android.util.DisplayMetrics;
import android.util.Log;

public class MainActivity extends Activity {
	public String LOG_TAG = "TienNT";

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.on_anwering);
		DisplayMetrics outMetrics = new DisplayMetrics();
		getWindowManager().getDefaultDisplay().getMetrics(outMetrics);
		log(outMetrics.widthPixels);
		log(outMetrics.heightPixels);
	}

	public void log(Object content) {
		Log.d(LOG_TAG, content.toString());
	}
}
